package owl2vowl.parser.vowl;

import owl2vowl.model.data.VowlData;
import java.util.function.Consumer;

public class BaseIriCollector {
	private final VowlData vowlData;

	public BaseIriCollector(VowlData vowlData) {
		this.vowlData = vowlData;
	}

	public void execute() {
		this.vowlData.getEntityMap().values().stream().forEach((entity) -> {
			this.vowlData.addBaseIri(entity.getBaseIri());
		});
	}
}